/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.activity.vo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 品牌协议表  Vo
 *
 * @author csg
 * @date 2021-05-18 14:25:31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "品牌协议表Vo")
public class VBrandAgreementVo extends Model<VBrandAgreementVo> {
private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @ApiModelProperty(value="ID主键")
    private Long id;
    /**
     * 协议编号
     */
    @ApiModelProperty(value="协议编号")
    private String agreCode;
    /**
     * 公司Id
     */
    @ApiModelProperty(value="公司Id")
    private Long companyId;
    /**
     * 品牌Id
     */
    @ApiModelProperty(value="品牌Id")
    private Long brandId;
    /**
     * 协议开始时间
     */
    @ApiModelProperty(value="协议开始时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime staTime;
    /**
     * 协议结束时间
     */
    @ApiModelProperty(value="协议结束时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime endTime;
    /**
     * 协议状态  0 进行中  1待开始  2 暂停中  3 已过期
     */
    @ApiModelProperty(value="协议状态  0 进行中  1待开始  2 暂停中  3 已过期")
    private Integer agreementStatus;
    /**
     * 暂停原因
     */
    @ApiModelProperty(value="暂停原因")
    private String suspendReason;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
    @ApiModelProperty(value="0可用1删除")
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;



	@ApiModelProperty(value="之前的 协议结束时间")
	@JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private LocalDateTime frontAgreementEndTime;

	@ApiModelProperty(value="品牌名称")
	private String brandName;

	@ApiModelProperty(value="品牌logo")
	private String logoUrl;

	@ApiModelProperty(value="公司名称")
	private String companyName;

	@ApiModelProperty(value="公司电话")
	private String companyPhone;

	@ApiModelProperty(value="法人")
	private String legalPerson;

	@ApiModelProperty(value="标签ID")
	private Integer labelId;

	@ApiModelProperty(value="品牌标签名称")
	private String labelName;

	@ApiModelProperty(value="参与门店统计")
	private Integer shopCount;

	@ApiModelProperty(value="有效优惠方案统计")
	private Integer planCount;

	@ApiModelProperty(value="登录ID")
	private Long loginId;

	@ApiModelProperty(value="角色名称（角色账号）")
	private String username;

	@ApiModelProperty(value = "手机号")
	private String phone;


    }
